﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KingerRobot.PCRBW.Dao;

partial class Db : K8.EF.DbContext
{
    /// <summary>
    ///钢圈产出信息 Orcale：mes_check
    /// </summary>
    public DbSet<MesCheck> MesChecks { get; set; }
}

[Table("mes_check")]
public class MesCheck
{
    [Key]
    [Column("check_id")]
    public string Id { get; set; }
    /// <summary>
    /// 彼此
    /// </summary>
    [Column("batch_name")]
    public string batch_name { get; set; }
    /// <summary>
    /// 物料编码
    /// </summary>
    [Column("part_number")]
    public string part_number { get; set; }
    /// <summary>
    /// rfid_no
    /// </summary>
    [Column("rfid_no")]
    public string rfid_no { get; set; }
    /// <summary>
    /// 结果1合格，0不合格
    /// </summary>
    [Column("check_result")]
    public string check_result { get; set; }
    /// <summary>
    /// 是否通过
    /// </summary>
    [Column("pass_flag")]
    public string pass_flag { get; set; }
    /// <summary>
    /// 创建时间
    /// </summary>
    [Column("create_time")]
    public DateTime? create_time { get; set; }
    /// <summary>
    /// 创建人
    /// </summary>
    [Column("create_user")]
    public string create_user { get; set; }
    /// <summary>
    /// 更新人
    /// </summary>
    [Column("last_modified_time")]
    public DateTime? last_modified_time { get; set; }
    /// <summary>
    /// 创建时间
    /// </summary>
    [Column("last_modified_user")]
    public string last_modified_user { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    [Column("remarks")]
    public string remarks { get; set; }
    /// <summary>
    /// 更新状态  mes 默认为1，wcs写入2
    /// </summary>
    [Column("update_flag")]
    public int? update_flag { get; set; }
    /// <summary>
    /// site_name
    /// </summary>
    [Column("site_name")]
    public string site_name { get; set; }
    /// <summary>
    /// area_name
    /// </summary>
    [Column("area_name")]
    public string area_name { get; set; }
}